project(AppleAccount)

remove_sdk_framework(AppleAccount
	PRIVATE
)

set(DYLIB_COMPAT_VERSION "1.0.0")
set(DYLIB_CURRENT_VERSION "1.0.0")

set(FRAMEWORK_VERSION "A")

generate_sdk_framework(AppleAccount
	PRIVATE
	VERSION ${FRAMEWORK_VERSION}
	HEADER "include/AppleAccount"
)

add_framework(AppleAccount
	PRIVATE
	FAT
	CURRENT_VERSION
	VERSION ${FRAMEWORK_VERSION}

	SOURCES
		src/AASetupAssistantCreateRequest.m
		src/AAQuotaDepletionAlert.m
		src/AALoginAccountResponse.m
		src/AAOBInheritanceSetupCompleteModel.m
		src/AADeviceList.m
		src/AAOBInheritanceContactPickerModel.m
		src/AAOBAddTrustedContactsModel.m
		src/AARequester.m
		src/AARegionInfo.m
		src/AACustodianSetupRequestContext.m
		src/AATrustedContactDetailsViewModel.m
		src/AAInheritanceInvitation.m
		src/AAAbsintheSignerContextCache.m
		src/AARecoveryFactorController.m
		src/AAContactsProvider.m
		src/AACloudKitDevicesListResponse.m
		src/AADaemonController.m
		src/AATrustedDeviceListRequest.m
		src/_AABasicGetRequest.m
		src/AAiCloudTermsAgreeRequest.m
		src/AAFMIPAuthenticateResponse.m
		src/AASecondaryAuthenticationRequest.m
		src/AAInitiateEmailVettingRequest.m
		src/AAOBModelHelper.m
		src/AACloudKitMigrationStateResponse.m
		src/AAAccountRecoveryManagementViewModel.m
		src/AAURLConfigurationRequest.m
		src/AAMobileMeOfferResponse.m
		src/AASetupAssistantConfigResponse.m
		src/AASignInOperationHelper.m
		src/AAPaymentSummaryResponse.m
		src/AAVersionUpdater.m
		src/AAAttestationSigner.m
		src/AAFlowPresenterHostInterface.m
		src/AAAccountBeneficiaryManagementViewModel.m
		src/AAStorableLoginContext.m
		src/AAFamilyDetailsRequest.m
		src/AAOBInheritanceInvitationModel.m
		src/AATrustedContactNotificationPublisher.m
		src/AACustodianController.m
		src/AAMessagingContext.m
		src/AATrustedContactStringProvider.m
		src/AAiCloudTermsStringRequest.m
		src/AAAddEmailUIRequest.m
		src/AAInheritanceContactController.m
		src/AAAvailabilityResponse.m
		src/AASigningSessionRequest.m
		src/AALoginAccountRequest.m
		src/AAPhotoResponse.m
		src/AACustodianDaemonConnection.m
		src/AAQuotaInfoResponse.m
		src/AARequest.m
		src/AALoginResponseDataclasses.m
		src/AAAccountManager.m
		src/AASetupAssistantService.m
		src/AAOBCustodianInvitationModel.m
		src/AAUpdateAccountUIRequest.m
		src/AAFamilyEligibilityResponse.m
		src/AAOBCustodianHelpNowModel.m
		src/AACloudKitStartMigrationResponse.m
		src/AALoginOrCreateDelegatesRequest.m
		src/AAResponse.m
		src/AACloudKitStartMigrationRequest.m
		src/AADevice.m
		src/AARemoteServer.m
		src/AACustodianPasswordResetInformation.m
		src/AALocalContactInfo.m
		src/AAAutoAccountVerifier.m
		src/AACustodianInvitationResponseContext.m
		src/AAFamilyDetailsResponse.m
		src/AAGenericTermsUIResponse.m
		src/AATrustedContactsInheritanceSplashScreenModel.m
		src/AAPaymentUIRequest.m
		src/AALocalization.m
		src/AAAccountManagementUIResponse.m
		src/AAOBInheritanceShareAccessKeyOptionsModel.m
		src/AAOBInheritanceInviteMessageModel.m
		src/AASetupAssistantUpdateRequest.m
		src/AAWalrusRecoveryContactRemovalAlertModel.m
		src/AAPreferences.m
		src/AAPendingIDSMessage.m
		src/AAFamilyEligibilityRequest.m
		src/AACustodianRecoveryRequestContext.m
		src/AABenefactorInfo.m
		src/AATermsReportUserActionRequest.m
		src/AASigningSessionResponse.m
		src/AAAbsintheContext.m
		src/AALoginDelegatesResponse.m
		src/AABeneficiaryInfo.m
		src/_AAURLSessionOperation.m
		src/AASetupAssistantConfigRequest.m
		src/AAOBInvitationSentModel.m
		src/AAFamilyMember.m
		src/AADeviceInfo.m
		src/AAUpdateNameRequest.m
		src/AAAppleTVRequest.m
		src/AAInheritance.m
		src/AAURLSessionContext.m
		src/AAUpgradeiOSTermsResponse.m
		src/AARegisterRequest.m
		src/AAMessage.m
		src/AASetupAssistantAuthenticateRequest.m
		src/AALoginResponseAppleAccountInfo.m
		src/AAFollowUpUtilities.m
		src/AASetupAssistantTermsFetchRequest.m
		src/AASignInFlowController.m
		src/AATrustedDeviceListResponse.m
		src/_AAURLSessionDelegate.m
		src/AATermsUserActionReporter.m
		src/AALoginDelegatesRequest.m
		src/AAAccount.m
		src/AATrustedContactFlowPresenter.m
		src/AAAcceptedTermsController.m
		src/AACustodianDataRecoveryKeys.m
		src/AAEmailVettingRequest.m
		src/AAWalrusRecoveryKeyRemovalViewModel.m
		src/AAiCloudTermsAgreeResponse.m
		src/AAAccountUserNotificationDaemonInterface.m
		src/AAFMIPAuthenticateRequest.m
		src/AACustodianRecoveryConfiguration.m
		src/ATVHighSecurityAccountSendCodeResponse.m
		src/AACustodianDaemonInterface.m
		src/AADeviceProvisioningRequest.m
		src/AAOBCustodianContactSelectorModel.m
		src/AAInheritanceContactsViewModel.m
		src/AALoginResponseiCloudTokens.m
		src/AAFamilyRequest.m
		src/AATermsReportUserActionResponse.m
		src/AAMessagingAccount.m
		src/AACompleteEmailVettingRequest.m
		src/ATVHighSecurityAccountVerifyCode.m
		src/AAPersonalInfoUIRequest.m
		src/ATVHighSecurityAccountDeviceListResponse.m
		src/AALoginContextTransientStorage.m
		src/AAAuthenticateRequest.m
		src/AAMessagingService.m
		src/AAAuthenticationResponse.m
		src/AAAvailabilityRequest.m
		src/AAAppleIDSettingsRequest.m
		src/AAURLSession.m
		src/AAPrimaryAccountUpdater.m
		src/AABeneficiary.m
		src/AAPersonaUtility.m
		src/ATVHighSecurityAccountDeviceList.m
		src/AAUserNotification.m
		src/AAURLConfiguration.m
		src/AASetupAssistantUpgradeStatusResponse.m
		src/AABeneficiaryClaimUIRequest.m
		src/AASetupAssistantSetupDelegatesRequest.m
		src/AARemoteServerConfigurationCache.m
		src/AASetupAssistantUpgradeStatusRequest.m
		src/AAMessagingCapability.m
		src/AAURLProtocol.m
		src/ATVHighSecurityAccountSendCode.m
		src/AACloudKitMigrationStateRequest.m
		src/AAPaymentSummaryRequest.m
		src/AAProvisioningResponse.m
		src/AALoginPluginManager.m
		src/AAWalrusPCSAuthRequest.m
		src/AADeviceListResponse.m
		src/AAAbsintheSigner.m
		src/AAGenericTermsUIRequest.m
		src/AAInviteCompletionInfo.m
		src/AAContactsManager.m
		src/AASigningSession.m
		src/AASuspensionInfo.m
		src/AADeviceListRequest.m
		src/AASecondaryAuthenticationResponse.m
		src/AAAccountContactPromptModel.m
		src/AAiCloudLoginAccountRequester.m
		src/AAWalrusStringProvider.m
		src/AADataclassManager.m
		src/AAAccountUserNotificationDaemonConnection.m
		src/AACloudKitDevicesListRequest.m
		src/AAOBTrustedContactInviteMessageModel.m
		src/AAMessagingDestination.m
		src/AALoginContextManager.m
		src/AAKeychainManager.m
		src/AACustodianshipInfo.m
		src/AAFlowPresenter.m
		src/AAOBCustodiansListViewModel.m
		src/AAOBInheritanceShareDataModel.m
		src/AAMessagingDevice.m
		src/AAWalrusRecoveryContactRemovedScreenModel.m
		src/AAQuotaInfoRequest.m
		src/AAUpdateProvisioningRequest.m
		src/AASetupAssistantSetupDelegatesResponse.m
		src/AAInheritanceMessageInviteContext.m
		src/AAAccountUserNotificationContext.m
		src/AACertificatePinner.m
		src/AASignOutFlowController.m
		src/AAiCloudTermsStringResponse.m
		src/AATrustedContactsCustodianSplashScreenModel.m
		src/AAFamilyInvite.m
		src/_AAURLSessionConfigurationTask.m
		src/ATVHighSecurityAccountVerifyCodeResponse.m
		src/AACompleteEmailVettingResponse.m
		src/AATrustedContactHealthInfo.m
		src/AAInheritanceController.m
		src/AAGrandSlamSigner.m
		src/AATrustedDevice.m
		src/AAPasswordSecurityUIRequest.m
		src/AATrustedContactDetailsViewModelFactory.m
		src/AAAccountUserNotificationPublisher.m
		src/AATrustedContact.m
		src/AAMessagesInviteContext.m
		src/AACustodianChooseContactViewModel.m
		src/AAUniversalLinkHelper.m
		src/AADependentAuthenticationUIRequest.m
		src/AASetupAssistantCreateResponse.m
		src/AACustodianMessageInviteContext.m
		src/AAOBBulletPointModel.m
		src/AADeviceProvisioningSession.m
		src/AAMyPhotoRequest.m
		src/AADeviceProvisioningResponse.m
		src/AAFollowUpController.m
		src/NSMutableDictionary+AppleAccount.m
		src/NSURL+AppleAccount.m
		src/NSOperationQueue+AppleAccount.m
		src/NSData+AppleAccount.m
		src/NSArray+AppleAccount.m
		src/ACAccountStore+AppleID.m
		src/NSDictionary+AppleAccount.m
		src/NSSet+AppleAccount.m
		src/NSURLResponse+AppleAccount.m
		src/NSURLRequest+AppleAccount.m
		src/ACDataclassAction+AppleAccount.m
		src/NSMutableArray+AppleAccount.m
		src/NSError+AppleAccount.m
		src/NSMutableURLRequest+AppleAccount.m
		src/NSHTTPCookieStorage+AppleAccount.m
		src/NSString+AAMessage.m
		src/ACAccount+AppleID.m
		src/NSURLSessionConfiguration+AppleAccount.m
		src/AppleAccount.m

	DEPENDENCIES
		system
		objc
		Foundation
		Accounts
)
